//{ "allowTupleTypes": "in-unions-and-intersections" }
type Foo = [number] & [number, number];

type Foo = [string] | [number];

type Foo = ([string] & [number, number]) | [number, number, number];

type Foo = ([string] & [number, number]) | readonly [number, number, number];

type Foo = ([string] & [number, number]) | keyof [number, number, number];